Page({
    data: {
        currentPath: ' ',
        images: [
            "https://c-ssl.dtstatic.com/uploads/blog/202010/30/20201030122807_065fb.thumb.1000_0.jpeg",
            "https://img.keaitupian.cn/newupload/12/1669971090124921.jpg",
            "https://img.shetu66.com/2023/06/28/1687937370461783.png"
        ]
    },
    onLoad() {
        this.setData({
            currentPath: this.route
        });
        console.log("Current path set to:", this.route); // 打印当前路径
    },
    onShow() {
        wx.hideHomeButton();
    }
});